package cn.cdeden.aiqa.domain.vo;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class DifyCreateByFileVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Document document;
    private String batch;

    @Data
    public static class Document implements Serializable {
        @Serial
        private static final long serialVersionUID = 1L;
        private String id;
        private int position;
        private String dataSourceType;
        private DataSourceInfo dataSourceInfo;
        private String datasetProcessRuleId;
        private String name;
        private String createdFrom;
        private String createdBy;
        private long createdAt;
        private int tokens;
        private String indexingStatus;
        private String error;
        private boolean enabled;
        private Long disabledAt;
        private String disabledBy;
        private boolean archived;
        private String displayStatus;
        private int wordCount;
        private int hitCount;
        private String docForm;

        @Data
        public static class DataSourceInfo implements Serializable{
            @Serial
            private static final long serialVersionUID = 1L;
            private String uploadFileId;
        }
    }
}
